import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  build: {
    target: 'esnext',
    manifest: 'terser',
    lib: {
      entry: './src/components/index.ts',
      formats: ['es', 'cjs', 'iife'],
      name: 'myHello'
    }
  }
})
